package com.qjl.shopping.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

/**
 * @Author liguanghui
 * @Date 2023/5/1
 */
@Data
@TableName("admin")
public class Admin {
    @TableId(value = "admin_id", type = IdType.AUTO)
    private int id;
    @TableField("admin_ac")
    private String ac;
    @JsonIgnore//jackson的忽略标记
    @TableField("admin_pwd")
    private String pwd;
    @TableField("admin_name")
    private String name;
}
